import {createStore,combineReducers} from "redux";
import {todoReduer} from "./reducerinput"
//创建store函数
//store包含2部分：所有reducer  所有组件的state
//参数1:合并后的reducer
//参数2:state
const rootReducer = combineReducers({
  todoReduer:todoReduer
});

const iniitalState = {

};

const store = createStore(rootReducer,iniitalState);

export default store;

